package com.jiefeng.dao;


import com.jiefeng.manager.table.RefundOrderInfo;
import com.jiefeng.manager.queryRequest.RefundOrderRequest;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * Created by huangtongshuan on 2016/5/15 19:32.
 */
@Component
public interface RefundOrderMapper {
    /**
     * 新增订单
     *
     * @param orderInfo
     */
    public void insert(RefundOrderInfo orderInfo);


    /**
     * 修改订单状态
     *
     * @param orderInfo
     */
    public void updateStatus(RefundOrderInfo orderInfo);


    /**
     * 查询退款订单
     */
    public List<RefundOrderInfo> get(RefundOrderRequest orderInfo);

    long countByparam(Map<String, String> map);

    int getCount(RefundOrderRequest refundOrderRequest);

    public List<RefundOrderInfo> getListBypage(RefundOrderRequest efundOrderRequest);
}
